package chapter04.example27;

public class example27 {
    public static void main(String[]  args){
        int res= 0;
        try {
            res = divide(4,0);
        } catch (Exception e) {
            e.printStackTrace();
        }
        System.out.println(res);
    }
    public static int divide(int x,int y)throws Exception{
        return x/y;
    }
}
